package com.fuxin.feign;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@org.springframework.cloud.openfeign.FeignClient(name = "SERVER", decode404 = true)
public interface FeignClient {

    @RequestMapping("/hello")
    Map<String,String> hello(@RequestParam String param);
}
